// samsting : this file is auto create.

#include "Slb/2014-05-15/CreateLoadBalancerRequest.h"

namespace aliyun { namespace Slb {

CreateLoadBalancerRequest::CreateLoadBalancerRequest() : RpcAcsRequest("Slb", "2014-05-15", "CreateLoadBalancer") {
}

int64 CreateLoadBalancerRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void CreateLoadBalancerRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& CreateLoadBalancerRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void CreateLoadBalancerRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 CreateLoadBalancerRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void CreateLoadBalancerRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& CreateLoadBalancerRequest::GetAddressType(void) const {
  return AddressType_;
}
void CreateLoadBalancerRequest::SetAddressType(const string& AddressType) {
  AddressType_ = AddressType;
  PutQueryParameter("AddressType", AddressType_);
}

const string& CreateLoadBalancerRequest::GetInternetChargeType(void) const {
  return InternetChargeType_;
}
void CreateLoadBalancerRequest::SetInternetChargeType(const string& InternetChargeType) {
  InternetChargeType_ = InternetChargeType;
  PutQueryParameter("InternetChargeType", InternetChargeType_);
}

int CreateLoadBalancerRequest::GetBandwidth(void) const {
  return Bandwidth_;
}
bool CreateLoadBalancerRequest::SetBandwidth(int Bandwidth) {
  if(Bandwidth < -1) {
    return false;
  }
  if(Bandwidth > 1000) {
    return false;
  }
  Bandwidth_ = Bandwidth;
  PutQueryParameter("Bandwidth", string_ValueOfInt(Bandwidth_));
  return true;
}

const string& CreateLoadBalancerRequest::GetClientToken(void) const {
  return ClientToken_;
}
void CreateLoadBalancerRequest::SetClientToken(const string& ClientToken) {
  ClientToken_ = ClientToken;
  PutQueryParameter("ClientToken", ClientToken_);
}

const string& CreateLoadBalancerRequest::GetLoadBalancerName(void) const {
  return LoadBalancerName_;
}
void CreateLoadBalancerRequest::SetLoadBalancerName(const string& LoadBalancerName) {
  LoadBalancerName_ = LoadBalancerName;
  PutQueryParameter("LoadBalancerName", LoadBalancerName_);
}

const string& CreateLoadBalancerRequest::GetVpcId(void) const {
  return VpcId_;
}
void CreateLoadBalancerRequest::SetVpcId(const string& VpcId) {
  VpcId_ = VpcId;
  PutQueryParameter("VpcId", VpcId_);
}

const string& CreateLoadBalancerRequest::GetVSwitchId(void) const {
  return VSwitchId_;
}
void CreateLoadBalancerRequest::SetVSwitchId(const string& VSwitchId) {
  VSwitchId_ = VSwitchId;
  PutQueryParameter("VSwitchId", VSwitchId_);
}

const string& CreateLoadBalancerRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void CreateLoadBalancerRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& CreateLoadBalancerRequest::GetMasterZoneId(void) const {
  return MasterZoneId_;
}
void CreateLoadBalancerRequest::SetMasterZoneId(const string& MasterZoneId) {
  MasterZoneId_ = MasterZoneId;
  PutQueryParameter("MasterZoneId", MasterZoneId_);
}

const string& CreateLoadBalancerRequest::GetSlaveZoneId(void) const {
  return SlaveZoneId_;
}
void CreateLoadBalancerRequest::SetSlaveZoneId(const string& SlaveZoneId) {
  SlaveZoneId_ = SlaveZoneId;
  PutQueryParameter("SlaveZoneId", SlaveZoneId_);
}

int CreateLoadBalancerRequest::GetMaxConnLimit(void) const {
  return MaxConnLimit_;
}
void CreateLoadBalancerRequest::SetMaxConnLimit(int MaxConnLimit) {
  MaxConnLimit_ = MaxConnLimit;
  PutQueryParameter("MaxConnLimit", string_ValueOfInt(MaxConnLimit_));
}

const string& CreateLoadBalancerRequest::GetSecurityStatus(void) const {
  return SecurityStatus_;
}
void CreateLoadBalancerRequest::SetSecurityStatus(const string& SecurityStatus) {
  SecurityStatus_ = SecurityStatus;
  PutQueryParameter("SecurityStatus", SecurityStatus_);
}


} } // namespace aliyun { namespace Slb {

// end of file 
